/* Copyright (c) 2024 Huawei Technologies Co., Ltd.
openFuyao is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
         http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
@import '@/styles/common.less';

// 初始化p标签
p {
  margin: 0;
}

.overview_content {
  background-color: #f7f7f7;
  min-height: calc(100vh - 114px - 48px - 55px);
  .overview_top{
    height: 265px;
    padding-top: 66px;
    position: relative;
    background: url(../assets/images/overviewbg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    .overview_top_begin{
      position: absolute;
      top: 24.6%;
      right: 7.18%;
      padding: 6px 20px;
      color: #fff;
      font-size: 14px;
      border-radius: 6px;
      background: #3f66f5;
    }
    .overview_top_begin:hover{
      cursor: pointer;
    }
    .overview_top_title{
      font-size: 32px;
      font-weight: bold;
      color: #599BF5;
      margin: 0 0 33px 122px;
    }
    .overview_top_seletor{
      display: flex;
      justify-content: space-around;
      .overview_top_oneseletor{
        width: 266px;
        height: 97px;
        padding: 20px 26px;
        display: flex;
        border-radius: 6px;
        .overview_top_oneseletor_img{
          width: 56px;
          height: 56px;
          margin-right: 20px;
        }
        .overview_top_oneseletor_num{
          font-size: 24px;
          font-weight: bold;
          color: #333;
          margin: -8px 0 4px 0;
        }
        .overview_top_oneseletor_title{
          font-size: 16px;
          color: #89939b;
        }
      }
      .overview_top_oneseletor:hover{
        cursor: pointer;
        border: 1px solid #4b8cea;
        box-shadow: inset 0px 0px 10px rgba(51,51,51,0.16);
      }
      .overview_top_oneseletor:hover:nth-child(4){
        border: none;
        box-shadow: none;
        cursor: default;
        .overview_top_oneseletor_title{
          cursor: text;
        }
      }
    }
  }
}
.overview_echarts{
  padding: 24px 32px;
  .overview_echarts_top{
    display: flex;
    justify-content: space-between;
    .overview_echarts_top_title{
      font-size: 16px;
      font-weight: bold;
      color: #333;
    }
    .overview_echarts_top_link{
      text-decoration: none;
      height: 32px;
      padding: 6px 19px;
      border: 1px solid #dcdcdc;
      border-radius: 6px;
      background: #fff;
      color: #333;
    }
    .overview_echarts_top_link:hover{
      color: #3f66f5;
    }
  }
  .overview_echart2,.overview_echart{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-width: 0;
    margin-top: 20px;
    min-height: 276px;
    .empty_data_tip{
      text-align: center;
      display: flex;
      height: 100%;
      justify-content: center;
      align-items: center;
      color: rgba(36, 41, 46, 0.75);
      font-size: 18px;
    }
    .overview_echart2_one{
      width: 100%;
      // height: 314px;
      background: #fff;
      position: relative;
      padding: 20px 24px 0 20px;
      .overview_echart2_one_top{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        .overview_echart2_one_top_sub{
          display: flex;
          align-items: center;
        .overview_tootip{
          margin-left: 6px;
          color: #89939b;
        }
        .overview_tootip:hover{
          color: #3f66f5;
          cursor: pointer;
        }
      }
      }
      .overview_echart2_one_legend_Lists{
        position: absolute;
        top: 54px;
        right: 10px;
        padding: 20px 20px 0;
        border-radius: 4px;
        background: #fff;
        z-index: 1000;
        box-shadow: 0px 0px 16px rgba(51,51,51,0.20);
        .overview_echart2_one_legend_List{
          margin-bottom: 20px;
          display: flex;
          align-items: center;
          .legend_color{
            width: 16px;
            height: 4px;
            border-radius: 5px;
            margin-right: 8px;
          }
          .legend_text{
            color: #333;
            font-size: 14px;
          }
        }
      }
      .overview_echart2_one_legend{
        display: flex;
        align-items: center;
        cursor: pointer;
      }
    }
  }
  .overview_echart3{
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(3, 1fr) !important;
    @media screen and (max-width: 1679px) {
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }
  .overview_box{
    margin-top: 20px;
    min-height: 276px;
    background: #fff;
    padding: 24px 20px;
    .overview_blod_title{
      font-weight: 700;
    }
    .overview_echart{
      display: grid;
      min-width: 0;
      grid-template-columns: repeat(1, 1fr) !important;
    }
    .overview_echart2,.overview_echart{
      margin-top:0;
      min-height: auto;
      .overview_echart2_one{
        padding-left: 0;
      }
    }
  }
}
.empty_text_pop_area_sub{
  position: absolute;
  font-weight: 400;
  font-size: 14px;
  left: 45%;
  top: 52%;
  color :#89939B;
}
@media screen and (width: 1440px) {
  .overviewEcharts{
    div {
      min-width: 448px !important;
    }
  }
}
@media screen and (max-width: 1440px) {
  .overviewEcharts{
    div {
      width: 448px !important;
    }
  }
}
@media screen and (width: 1680px) {
  .overviewEcharts{
    div {
      width: 500px !important;
    }
  }
}
